package com.xsd.juc;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Description:
 * @Author: zhoufuzong
 * @Created: 2021-01-03 16:03:05
 * @Version: 1.1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Book {

    // 链式编程+流式计算

    private int id;
    private String bookName;
    private double price;


    public static void main(String[] args) {
        Book book = new Book();
        book.setId(1).setBookName("java");
    }



}
